//
// Source code recreated from a .class file by IntelliJ IDEA
// (powered by Fernflower decompiler)
//

package org.quickserver.util.state;

import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import org.quickserver.net.model.DevType;
import org.quickserver.util.data.dataProcessing;

public class QNA2B205State {
    public QNA2B205State() {
    }

    public static Map<String, String> getQNA2B205State(String[] strs) {
        Map<String, String> map = new HashMap();
        int[] d = dataProcessing.henTo2(strs[0]);
        int[] g = dataProcessing.henTo2(strs[1]);
        int strLen1 = d.length;
        int strLen2 = g.length;
        d = Arrays.copyOf(d, strLen1 + strLen2);
        System.arraycopy(g, 0, d, strLen1, strLen2);

        for(int i = 0; i < d.length; ++i) {
            switch(i) {
            case 0:
                switch(d[i]) {
                case 0:
                case 1:
                default:
                    continue;
                }
            case 1:
                switch(d[i]) {
                case 0:
                case 1:
                default:
                    continue;
                }
            case 2:
                switch(d[i]) {
                case 0:
                    map.put(DevType.tz.getCode(), DevType.tz.getName());
                    continue;
                case 1:
                    map.put(DevType.sdjzzdyx.getCode(), DevType.sdjzzdyx.getName());
                default:
                    continue;
                }
            case 3:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.sdyxzdjz.getCode(), DevType.sdyxzdjz.getName());
                    continue;
                }
            case 4:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.szdyx.getCode(), DevType.szdyx.getName());
                    continue;
                }
            case 5:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.psyx.getCode(), DevType.psyx.getName());
                    continue;
                }
            case 6:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.zdyx.getCode(), DevType.zdyx.getName());
                    continue;
                }
            case 7:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.sdyx.getCode(), DevType.sdyx.getName());
                    continue;
                }
            case 8:
                switch(d[i]) {
                case 0:
                case 1:
                default:
                    continue;
                }
            case 9:
                switch(d[i]) {
                case 0:
                case 1:
                default:
                    continue;
                }
            case 10:
                switch(d[i]) {
                case 0:
                case 1:
                default:
                    continue;
                }
            case 11:
                switch(d[i]) {
                case 0:
                case 1:
                default:
                    continue;
                }
            case 12:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.szdjz.getCode(), DevType.szdjz.getName());
                    continue;
                }
            case 13:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.psjz.getCode(), DevType.psjz.getName());
                    continue;
                }
            case 14:
                switch(d[i]) {
                case 0:
                default:
                    continue;
                case 1:
                    map.put(DevType.zdjz.getCode(), DevType.zdjz.getName());
                    continue;
                }
            case 15:
                switch(d[i]) {
                case 0:
                default:
                    break;
                case 1:
                    map.put(DevType.sdjz.getCode(), DevType.sdjz.getName());
                }
            }
        }

        return map;
    }
}
